package com.neutech.base;

import java.awt.Graphics;
import java.awt.Image;

import com.neutech.constant.Constant;

public class Backgroud extends Sprite{

	public Backgroud() {}

	public Backgroud(Image image) {
		super(0, Constant.WINDOW_TOOLBAR_HEIGHT,image.getWidth(null), image.getHeight(null), 0, 0, image.getWidth(null), image.getHeight(null),image);
	}
	
	@Override
	public void draw(Graphics g) {
		g.drawImage(getImage(), getX(), getY(), null);
	}
}
